﻿<controls:ChildWindow
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" x:Class="OpenRPOSBackOffice.AddEmployeeDialog"
           Width="340" Height="141" 
           Title="Add Employee">
    <Grid Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <sdk:Label HorizontalAlignment="Left" Content="First Name" Height="19" Margin="8,4,0,0" VerticalAlignment="Top" Width="103"/>
        <TextBox HorizontalAlignment="Left" Margin="7,22,0,0" Name="tbFirstName" VerticalAlignment="Top" Width="124" MaxLength="25" />
        <sdk:Label HorizontalAlignment="Left" Content="MI" Height="19" Margin="136,4,0,0" VerticalAlignment="Top" Width="20"/>
        <TextBox HorizontalAlignment="Left" Margin="137,22,0,0" Name="tbMiddleInitial" VerticalAlignment="Top" Width="24" RenderTransformOrigin="1.958,-0.417" MaxLength="1"/>
        <sdk:Label HorizontalAlignment="Left" Content="Last Name" Height="19" Margin="167,4,0,0" VerticalAlignment="Top" Width="103"/>
        <TextBox HorizontalAlignment="Left" Margin="166,22,0,0" Name="tbLastName" VerticalAlignment="Top" Width="150" KeyDown="tbLastName_KeyDown" MaxLength="25"/>
        <Button x:Name="btnOK" Content="OK" Click="btnOK_Click" Width="75" HorizontalAlignment="Right" Margin="0,10,79,0" Grid.Row="1" />
        <Button x:Name="btnCancel" Content="Cancel" Click="btnCancel_Click" Width="75" HorizontalAlignment="Right" Margin="0,10,0,0" Grid.Row="1" />
    </Grid>
</controls:ChildWindow>